package com.tt.payee.mapper;

import com.tt.payee.domain.TbUser;
import com.tt.payee.domain.vo.TbUserVo;
import tk.mybatis.mapper.MyMapper;

import java.util.List;

/**
 * @author     ：Tang
 * @date       ：Created in 2020/7/22 15:28
 * @description：${description}
 * @modified By：
 * @version:     $version$
 */

public interface TbUserMapper extends MyMapper<TbUser> {

    TbUser getByIdWithPermission(Long userId);

    List<TbUser> getList(TbUserVo tbUserVo);

    TbUser getById(Long userId);
}